package cn.xiaov.dao;

import cn.xiaov.domain.LoginUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;


@Mapper
@Repository
public interface LoginUserDao {

    @Select("select * from loginuser where username=#{username}")
    List< LoginUser> findByUserName(String username);

}